package org.marlin.http.annotation;

import org.marlin.http.HttpScannerRegistrar;
import org.marlin.http.proxy.HttpFactoryBean;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * init version 1.5.0
 *
 * @author Jack ZG
 * @since 1.0.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@Import({HttpScannerRegistrar.class})
public @interface HttpServerScan {
    String[] basePackages() default {};

    String httpHandlerRef() default "";

    Class<? extends HttpFactoryBean> factoryBean() default HttpFactoryBean.class;
}
